<?php

/* 
 * Created Datetime:2017-1-29 10:39:47
 * Creator:Jimmy Jaw <web3d@live.cn>
 * Copyright:TimeCheer Inc. 2017-1-29 
 * 
 */

namespace tch\core;

/**
 * 路由器接口
 */
interface RouterInterface
{
    /**
     * 构建url
     * @param string $route 'students/add'
     * @param array $params 如array('name' => 'jimmy')
     * @param string $host 另行指定url中的host部分
     */
    public function url($route, $params = array(), $host = '');
}